package com.langsin.zhangruizhi.mapper;

import com.langsin.bean.Orders;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface OrdersMapper {
    Orders queryOrdersAndUserByOrderId(Integer orderId);

    Orders queryOrderOrderDetails(Integer orderId);
    //按照用户id查order
//    @Select("select * from orders where userId = #{userId}")
    Orders queryOrdersByUserId(Integer userId);
}
